package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Message;
import java.util.List;

public interface MessageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Message record);

    Message selectByPrimaryKey(Long id);

    List<Message> selectAll();

    int updateByPrimaryKey(Message record);

    Integer selectUnRead(Long id);

    List<Message> selectMessages(Long id);
}